package org.jypj.dev.model;

import com.google.gson.Gson;

import java.util.ArrayList;
import java.util.List;

/**
 * 出乘提示模块
 *
 * @author chenyu
 */
public class Template implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String id; //主键ID
    private String num;//模板编号
    private String title; //标题
    private String contentText; //文本内容
    private String contentHtml; //HTML内容
    private int sortOrder; //排序字段
    private String createTime; //创建时间
    private String modifyTime; //修改时间
    private int isValid; //是否有效（默认有效）
    private int isDelete; //是否可以删除

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContentText() {
        return this.contentText;
    }

    public void setContentText(String contentText) {
        this.contentText = contentText;
    }

    public String getContentHtml() {
        return this.contentHtml;
    }

    public void setContentHtml(String contentHtml) {
        this.contentHtml = contentHtml;
    }

    public int getSortOrder() {
        return this.sortOrder;
    }

    public void setSortOrder(int sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public int getIsValid() {
        return this.isValid;
    }

    public void setIsValid(int isValid) {
        this.isValid = isValid;
    }

    public int getIsDelete() {
        return this.isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    @Override
    public String toString() {

        return new Gson().toJson(this);
    }

}